package com.zmn.oms.zmn.normal.business.interfaces.work.financework;

import com.zmn.oms.common.exception.OmsBaseException;
import com.zmn.oms.model.dto.work.modify.ZsSyncAccountDIO;

/**
 * @author sunlife
 * @date:2020/9/16 11:18 上午
 * description:
 */
public interface ZsNormalErpFinanceWorkBService {

    /**
     * 保存算账
     *
     * @param accountDIO
     */
    void syncAccount(ZsSyncAccountDIO accountDIO) throws Exception;

    /**
     * 算账
     * @param accountDIO
     * @return
     * @throws Exception
     */
    void saveAccount(ZsSyncAccountDIO accountDIO) throws OmsBaseException;

    /**
     * yeyx算账
     * @param accountDIO
     * @return
     * @throws Exception
     */
    void saveFAccount(ZsSyncAccountDIO accountDIO) throws OmsBaseException;

    /**
     * 工单自动算账
     * @param accountDIO
     * @return
     * @throws Exception
     */
    void autoAccount(ZsSyncAccountDIO accountDIO) throws Exception;
}
